package cube;

import javafx.animation.Timeline;
import javafx.animation.KeyFrame;

/**
 * @author charmgil
 */

public var isChecked = false;

public var lastLauchedTimeLine:Timeline;
public var clickedTimeLine: Timeline = Timeline{
    keyFrames: [ KeyFrame {
            time: 0s
            action:function(){
                lastLauchedTimeLine.stop();
                isChecked = true;
            }
        },
        KeyFrame{
            time: 200ms
            action:function(){ isChecked = false; }
        }
    ]
}

//public class Timer {
//}


